package com.example.demo.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.demo.model.User;
import com.example.demo.payload.DataResponse;

import java.util.Date;

public interface UserService extends IService<User> {

    Integer Login(String userAccount, String userPassword);
    Integer ExistAccount(String userAccount);
    long Register(User user);
    User GetInfo(String userAccount);
    boolean Update(String userAccount, String email, String password, Date updateTime);
    int GetUserId(String userAccount);

}
